package ai.zixing.example01.builder;

import ai.zixing.example01.product.Bike;

/**
 * 摩拜单车建造者
 */
public class MobikeBuilder extends Builder{
    @Override
    public void builderFrame() {
        System.out.println("制作车架！");
        mBike.setFrame("铝合金车架");
    }

    @Override
    public void builderSeat() {
        System.out.println("制作车座！");
        mBike.setSeat("真皮车座");
    }

    @Override
    public Bike createBike() {
        return mBike;
    }
}
